package com.ruoyi.student.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生信息对象 t_student
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生id */
    private Long id;

    /** 学生状态，0未毕业、1毕业未就业、2转班留级、3已就业、4休学、5开除 */
    @Excel(name = "学生状态，0未毕业、1毕业未就业、2转班留级、3已就业、4休学、5开除")
    private Long state;

    /** 学生名字 */
    @Excel(name = "学生名字")
    private String name;

    /** 所属班级id */
    @Excel(name = "所属班级")
    private Long classId;

    /** 校区 */
    @Excel(name = "校区")
    private String campus;

    /** 模拟面试 */
    @Excel(name = "模拟面试")
    private String mockInterview;

    /** 结业测试 */
    @Excel(name = "结业测试")
    private String finalTest;


    /** 转班留级备注 */
    @Excel(name = "转班留级备注")
    private String repeaterNode;


    /** 所属班级 */
    @Excel(name = "所属班级")
    private TClass grade;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setCampus(String campus)
    {
        this.campus = campus;
    }

    public String getCampus()
    {
        return campus;
    }
    public void setMockInterview(String mockInterview)
    {
        this.mockInterview = mockInterview;
    }

    public String getMockInterview()
    {
        return mockInterview;
    }
    public void setFinalTest(String finalTest)
    {
        this.finalTest = finalTest;
    }

    public String getFinalTest()
    {
        return finalTest;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("state", getState())
            .append("name", getName())
            .append("classId", getClassId())
            .append("campus", getCampus())
            .append("mockInterview", getMockInterview())
            .append("finalTest", getFinalTest())
            .toString();
    }
}
